﻿namespace Partner.Surround.Authorization
{
    /// <summary>
    /// 权限命名
    /// </summary>
    public static class PermissionNames
    {
        #region 顶级权限
        public const string Pages = "Pages";
        #endregion

        #region 基础支撑平台
        public const string Pages_Tenants = "Pages.Tenants";

        public const string Pages_Users = "Pages.Users";

        public const string Pages_Roles = "Pages.Roles";
        #endregion

        #region 业务模块
        public const string Pages_TaskManage = "Pages.TaskManage";
        #endregion

        #region 基础设施管理
        public const string Pages_Core = "Pages.Core";

        #region 数据字典
        public const string Pages_Core_DataDictionary = "Pages.Core.DataDictionary";
        public const string Pages_Core_DataDictionary_Create = "Pages.Core.DataDictionary.Create";
        public const string Pages_Core_DataDictionary_Delete = "Pages.Core.DataDictionary.Delete";
        public const string Pages_Core_DataDictionary_Edit = "Pages.Core.DataDictionary.Edit";
        #endregion

        #region 数据字典项
        public const string Pages_Core_DataDictionaryItem = "Pages.Core.DataDictionaryItem";
        public const string Pages_Core_DataDictionaryItem_Create = "Pages.Core.DataDictionaryItem.Create";
        public const string Pages_Core_DataDictionaryItem_Delete = "Pages.Core.DataDictionaryItem.Delete";
        public const string Pages_Core_DataDictionaryItem_Edit = "Pages.Core.DataDictionaryItem.Edit";
        #endregion

        #endregion
    }
}
